package com.zemo.base.domain.enums;

/**
 * @ClassName: YnEnum
 * @author: SuperZemoy
 * @email: zemochen@gmail.com
 * @Date 05/04/2018 17:36
 * @Description
 */
public enum YnEnum {


    YES(1, "正常"),
    NO(-1, "删除");
    private int code;

    private String name;

    YnEnum(int code, String name) {
        this.code = code;
        this.name = name;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
